package net.xdclass.job;

import com.xxl.job.core.biz.model.ReturnT;
import com.xxl.job.core.context.XxlJobHelper;
import com.xxl.job.core.handler.annotation.XxlJob;
import org.springframework.stereotype.Component;

/**
 * @Classname MyJobHandler
 * @Description TODO
 * @Date 2022/11/10 23:42
 * @Created by sunhao
 */
@Component
public class MyJobHandler {

  @XxlJob(value = "orderShow")
  public ReturnT<String> order(){
    XxlJobHelper.log("执行了....");
    return ReturnT.SUCCESS;
  }
}
